package trlygjj.tanruiliyigenjinjin.mapper;

import trlygjj.tanruiliyigenjinjin.domain.TransferRecord;
import trlygjj.tanruiliyigenjinjin.query.QueryObject;

import java.util.List;

/**
 * 学员转班
 */
public interface TransferRecordMapper {

    int insert(TransferRecord record);

    TransferRecord selectByPrimaryKey(Long id);

    List<TransferRecord> selectAll();


    int queryForCount(QueryObject qo);

    List<TransferRecord> queryForList(QueryObject qo);

    /**
     * 转班学员审核状态
     * @param record
     */
    void transferRecordState(TransferRecord record);
}